package io.renren.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.JsonResult;
import io.renren.common.utils.R;
import io.renren.common.utils.StatusCode;
import io.renren.modules.app.dao.ReportBankaccDao;
import io.renren.modules.app.dao.UserDao;
import io.renren.modules.app.entity.UserEntity;
import io.renren.modules.app.service.AppCorpWebService;
import io.renren.modules.app.service.AppReportBankaccService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service("corpWebService")
public class AppCorpWebServiceImpl extends ServiceImpl<UserDao, UserEntity> implements AppCorpWebService {


    @Autowired
    private ReportBankaccDao reportBankaccDao;

    @Override
    public R corpWebService() {
        //  List<Map<String, Object>> listMap = new ArrayList<Map<String, Object>>();
        List<Map<String, Object>> list = reportBankaccDao.corpWebService();

        return R.ok().put("data", list);


    }
}
